package com.pg.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pg.entity.kgg.EipAhLightImpulse;
import com.pg.mapper.EipAhLightImpulseMapper;
import com.pg.service.EipAhLightImpulseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;


/**
 * <p>
 * 雷电冲击电压试验 服务实现类
 * </p>
 *
 * @author likl
 * @since 2020-10-26
 */
@Service
@DS("proxyDs")
@Primary
public class EipAhLightImpulseServiceImpl extends ServiceImpl<EipAhLightImpulseMapper, EipAhLightImpulse> implements EipAhLightImpulseService {

    @Autowired
    private EipAhLightImpulseMapper eipAhLightImpulseMapper;

    @Override
    public void saveOne(EipAhLightImpulse eipAhLightImpulse) {
        eipAhLightImpulseMapper.insert(eipAhLightImpulse);
    }
}
